# $Id: PKGBUILD 68044 2012-03-17 11:53:37Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>

pkgname=shfs-utils
pkgver=0.35
pkgrel=4
pkgdesc="SHell FileSystem Linux utils"
url="http://shfs.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('glibc' 'openssh')
makedepends=('patch')
source=("http://downloads.sourceforge.net/sourceforge/shfs/shfs-$pkgver.tar.gz"
        'shfs-utils-make.patch')
md5sums=('016f49d71bc32eee2b5d11fc1600cfbe'
         '49fb94b139bc69927815127f0bf85159')

build() {
  cd "${srcdir}/shfs-${pkgver}"

  patch -Np0 -i "${srcdir}/$pkgname-make.patch"
  make -j1 utils
}

package() {
  cd "${srcdir}/shfs-${pkgver}"

  make -j1 ROOT="${pkgdir}" utils-install
}
